import { Component, OnInit } from '@angular/core';


import { Device } from '@awesome-cordova-plugins/device/ngx';
import { Network } from '@awesome-cordova-plugins/network/ngx';

@Component({
  selector: 'app-test',
  templateUrl: './test.page.html',
  styleUrls: ['./test.page.scss'],
})
export class TestPage implements OnInit {

	constructor(private device:Device,
		private network:Network) { }

	ngOnInit() {
	}

	showDevice(){
		console.log("show device!");
		console.log(this.device.uuid);
	}
	showNetwor(){
		console.log("****************************")
		console.log(this.network.type);
	}
}
